package com.sg.service.biz.bff.impl;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollectionUtil;
import com.sg.common.util.CommonFunctionHelper;
import com.sg.common.util.RedisUtil;
import com.sg.dto.biz.bff.req.*;
import com.sg.dto.biz.bff.res.*;
import com.sg.dto.integration.calc.QueryDeptTaskQuesMemberRankingListComReqDto;
import com.sg.dto.integration.calc.QueryDeptTaskQuesMemberRankingListComRespDto;
import com.sg.dto.integration.calc.StandardDataDto;
import com.sg.dto.integration.framework.BatchQueryUserinfoByMemberComReqDto;
import com.sg.dto.integration.framework.BatchQueryUserinfoByMemberComRespDto;
import com.sg.dto.integration.framework.BeginMemberDto;
import com.sg.service.biz.bff.DashboardWorkTaskService;
import com.wicket.okrapp.integration.DashboardWorkTaskService;
import com.wicket.okrapp.integration.dto.*;
import com.sg.common.exception.Assert;
import com.wicket.okrcalc.integration.DashboardWorkTaskService;
import com.wicket.okrcomponent.integration.ConfSchemeService;
import com.wicket.okrframework.integration.DashboardOrgService;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.stream.Collectors;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
@Service
public class DashboardWorkTaskServiceImpl implements DashboardWorkTaskService {

    @Resource
    private RedisUtil redisUtil;
    @Resource
    com.sg.service.biz.app.DashboardWorkTaskService fwAppDashboardWorkTaskClient;
    @Resource
    com.sg.service.biz.calc.DashboardWorkTaskService fwCalcDashboardWorkTaskClient;

    @Resource
    com.sg.service.biz.framework.DashboardOrgService fwBaseDashboardOrgClient;
    @Resource
    com.sg.service.biz.component.ConfSchemeService fwCompConfSchemeClient;

    /**
     * B3查询主管下属问题超时排行图表[9039]
     * gen by moon at 4/1/2024, 2:18:05 AM
     */
    @Trace(operationName = "B3查询主管下属问题超时排行图表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryChargeSubQuestionTimeoutRankListRespDto queryChargeSubQuestionTimeoutRankList(BffQueryChargeSubQuestionTimeoutRankListReqDto reqDto) {


        QueryChargeSubQuestionTimeoutRankListRespDto queryChargeSubQuestionTimeoutRankListRespDto_1 = null;
//步骤0: D3查询主管下属问题超时排行列表 - queryChargeSubQuestionTimeoutRankList
        QueryChargeSubQuestionTimeoutRankListRespDto queryChargeSubQuestionTimeoutRankListRespDto = null;
        QueryChargeSubQuestionTimeoutRankListReqDto queryChargeSubQuestionTimeoutRankListReqDto = new QueryChargeSubQuestionTimeoutRankListReqDto();
        queryChargeSubQuestionTimeoutRankListReqDto.setQuestionStatus("OVERTIME");//sourceId:1683312_1
        queryChargeSubQuestionTimeoutRankListReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1683313_1
        if (reqDto != null) {
            queryChargeSubQuestionTimeoutRankListReqDto.setDirectorInductionRecordId(reqDto.getDirectorInductionRecordId());//SimpleFieldAssign//sourceId:1683311_1
        }

        /*D3查询主管下属问题超时排行列表[9024]   */
        Assert.isNull(queryChargeSubQuestionTimeoutRankListReqDto.getDirectorInductionRecordId(), "B3查询主管下属问题超时排行图表-D3查询主管下属问题超时排行列表-可选主管就职记录ID不能为空", false);
        Assert.isNull(queryChargeSubQuestionTimeoutRankListReqDto.getQuestionStatus(), "B3查询主管下属问题超时排行图表-D3查询主管下属问题超时排行列表-问题状态不能为空", false);
        Assert.isNull(queryChargeSubQuestionTimeoutRankListReqDto.getSpaceId(), "B3查询主管下属问题超时排行图表-D3查询主管下属问题超时排行列表-创建于空间ID不能为空", false);
        queryChargeSubQuestionTimeoutRankListRespDto = fwAppDashboardWorkTaskClient.queryChargeSubQuestionTimeoutRankList(queryChargeSubQuestionTimeoutRankListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryChargeSubQuestionTimeoutRankListRespDto_1 = queryChargeSubQuestionTimeoutRankListRespDto;

        BffQueryChargeSubQuestionTimeoutRankListRespDto retData = new BffQueryChargeSubQuestionTimeoutRankListRespDto();
        if (queryChargeSubQuestionTimeoutRankListRespDto_1 != null) {
            retData.setQuestionList(queryChargeSubQuestionTimeoutRankListRespDto_1.getQuestionList().stream().map(item -> BeanUtil.toBean(item, BffQuestionDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1683316_1
        }


        return retData;
    }

    /**
     * 11111B3查询工作任务周期导航列表[8996]
     * gen by moon at 6/15/2024, 1:44:02 AM
     */
    @Trace(operationName = "11111B3查询工作任务周期导航列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryWorkTaskCycleNavListRespDto queryWorkTaskCycleNavList(BffQueryWorkTaskCycleNavListReqDto reqDto) {


        //步骤0: D3查询其他大屏周期名称详情(公共) - queryOtherDashboardCycleNameDetailCom
        QueryOtherDashboardCycleNameDetailComRespDto queryOtherDashboardCycleNameDetailComRespDto = null;
        QueryOtherDashboardCycleNameDetailComReqDto queryOtherDashboardCycleNameDetailComReqDto = new QueryOtherDashboardCycleNameDetailComReqDto();


        /*D3查询其他大屏周期名称详情(公共)[8992]   */

        queryOtherDashboardCycleNameDetailComRespDto = fwAppDashboardWorkTaskClient.queryOtherDashboardCycleNameDetailCom(queryOtherDashboardCycleNameDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffQueryWorkTaskCycleNavListRespDto retData = new BffQueryWorkTaskCycleNavListRespDto();


        return retData;
    }

    /**
     * B3查询个人工作任务进度排行图表[9005]
     * gen by moon at 4/1/2024, 2:39:24 AM
     */
    @Trace(operationName = "B3查询个人工作任务进度排行图表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryPersonalWorkTaskProgressRankListRespDto queryPersonalWorkTaskProgressRankList(BffQueryPersonalWorkTaskProgressRankListReqDto reqDto) {


        QueryPersonalWorkTaskProgressRankListRespDto queryPersonalWorkTaskProgressRankListRespDto_1 = null;
//步骤0: D3查询个人工作任务进度排行列表 - queryPersonalWorkTaskProgressRankList
        QueryPersonalWorkTaskProgressRankListRespDto queryPersonalWorkTaskProgressRankListRespDto = null;
        QueryPersonalWorkTaskProgressRankListReqDto queryPersonalWorkTaskProgressRankListReqDto = new QueryPersonalWorkTaskProgressRankListReqDto();
        queryPersonalWorkTaskProgressRankListReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1681047_1
        if (reqDto != null) {
            queryPersonalWorkTaskProgressRankListReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1681048_1
            queryPersonalWorkTaskProgressRankListReqDto.setTaskStatus(reqDto.getTaskStatus());//SimpleFieldAssign//sourceId:1681046_1
        }

        /*D3查询个人工作任务进度排行列表[9000]   */
        Assert.isNull(queryPersonalWorkTaskProgressRankListReqDto.getOriginalRoleMemberId(), "B3查询个人工作任务进度排行图表-D3查询个人工作任务进度排行列表-身份人员ID不能为空", false);
        Assert.isNull(queryPersonalWorkTaskProgressRankListReqDto.getTaskStatus(), "B3查询个人工作任务进度排行图表-D3查询个人工作任务进度排行列表-任务进展状态不能为空", false);
        Assert.isNull(queryPersonalWorkTaskProgressRankListReqDto.getSpaceId(), "B3查询个人工作任务进度排行图表-D3查询个人工作任务进度排行列表-创建于空间ID不能为空", false);
        queryPersonalWorkTaskProgressRankListRespDto = fwAppDashboardWorkTaskClient.queryPersonalWorkTaskProgressRankList(queryPersonalWorkTaskProgressRankListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryPersonalWorkTaskProgressRankListRespDto_1 = queryPersonalWorkTaskProgressRankListRespDto;

        BffQueryPersonalWorkTaskProgressRankListRespDto retData = new BffQueryPersonalWorkTaskProgressRankListRespDto();
        if (queryPersonalWorkTaskProgressRankListRespDto_1 != null) {
            retData.setTaskDataList(queryPersonalWorkTaskProgressRankListRespDto_1.getTaskDataList().stream().map(item -> BeanUtil.toBean(item, BffTaskDataDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1681052_1
        }


        return retData;
    }

    /**
     * B3查询个人工作任务逾期排行图表[9007]
     * gen by moon at 4/1/2024, 2:39:27 AM
     */
    @Trace(operationName = "B3查询个人工作任务逾期排行图表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryPersonalWorkTaskOverdueRankListRespDto queryPersonalWorkTaskOverdueRankList(BffQueryPersonalWorkTaskOverdueRankListReqDto reqDto) {


        QueryPersonalWorkTaskOverdueRankListRespDto queryPersonalWorkTaskOverdueRankListRespDto_1 = null;
//步骤0: D3查询个人工作任务逾期排行列表 - queryPersonalWorkTaskOverdueRankList
        QueryPersonalWorkTaskOverdueRankListRespDto queryPersonalWorkTaskOverdueRankListRespDto = null;
        QueryPersonalWorkTaskOverdueRankListReqDto queryPersonalWorkTaskOverdueRankListReqDto = new QueryPersonalWorkTaskOverdueRankListReqDto();
        queryPersonalWorkTaskOverdueRankListReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1681098_1
        if (reqDto != null) {
            queryPersonalWorkTaskOverdueRankListReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1681096_1
            queryPersonalWorkTaskOverdueRankListReqDto.setStateCode(reqDto.getStateCode());//SimpleFieldAssign//sourceId:1681097_1
        }

        /*D3查询个人工作任务逾期排行列表[9001]   */
        Assert.isNull(queryPersonalWorkTaskOverdueRankListReqDto.getOriginalRoleMemberId(), "B3查询个人工作任务逾期排行图表-D3查询个人工作任务逾期排行列表-身份人员ID不能为空", false);
        Assert.isNull(queryPersonalWorkTaskOverdueRankListReqDto.getStateCode(), "B3查询个人工作任务逾期排行图表-D3查询个人工作任务逾期排行列表-内容冗余状态不能为空", false);
        Assert.isNull(queryPersonalWorkTaskOverdueRankListReqDto.getSpaceId(), "B3查询个人工作任务逾期排行图表-D3查询个人工作任务逾期排行列表-创建于空间ID不能为空", false);
        queryPersonalWorkTaskOverdueRankListRespDto = fwAppDashboardWorkTaskClient.queryPersonalWorkTaskOverdueRankList(queryPersonalWorkTaskOverdueRankListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryPersonalWorkTaskOverdueRankListRespDto_1 = queryPersonalWorkTaskOverdueRankListRespDto;

        BffQueryPersonalWorkTaskOverdueRankListRespDto retData = new BffQueryPersonalWorkTaskOverdueRankListRespDto();
        if (queryPersonalWorkTaskOverdueRankListRespDto_1 != null) {
            retData.setTaskDataList(queryPersonalWorkTaskOverdueRankListRespDto_1.getTaskDataList().stream().map(item -> BeanUtil.toBean(item, BffTaskDataDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1681102_1
        }


        return retData;
    }

    /**
     * B3查询个人问题解决天数排行图表[9015]
     * gen by moon at 4/1/2024, 2:39:33 AM
     */
    @Trace(operationName = "B3查询个人问题解决天数排行图表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryPersonalQuestionSolveRankListRespDto queryPersonalQuestionSolveRankList(BffQueryPersonalQuestionSolveRankListReqDto reqDto) {


        QueryPersonalQuestionSolveRankListRespDto queryPersonalQuestionSolveRankListRespDto_1 = null;
//步骤0: D3查询个人问题解决时长排行列表 - queryPersonalQuestionSolveRankList
        QueryPersonalQuestionSolveRankListRespDto queryPersonalQuestionSolveRankListRespDto = null;
        QueryPersonalQuestionSolveRankListReqDto queryPersonalQuestionSolveRankListReqDto = new QueryPersonalQuestionSolveRankListReqDto();
        queryPersonalQuestionSolveRankListReqDto.setQuestionStatus("RESOLVED");//sourceId:1681449_1
        queryPersonalQuestionSolveRankListReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1681448_1
        if (reqDto != null) {
            queryPersonalQuestionSolveRankListReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1681447_1
        }

        /*D3查询个人问题解决时长排行列表[9009]   */
        Assert.isNull(queryPersonalQuestionSolveRankListReqDto.getOriginalRoleMemberId(), "B3查询个人问题解决天数排行图表-D3查询个人问题解决时长排行列表-身份人员ID不能为空", false);
        Assert.isNull(queryPersonalQuestionSolveRankListReqDto.getQuestionStatus(), "B3查询个人问题解决天数排行图表-D3查询个人问题解决时长排行列表-问题状态不能为空", false);
        Assert.isNull(queryPersonalQuestionSolveRankListReqDto.getSpaceId(), "B3查询个人问题解决天数排行图表-D3查询个人问题解决时长排行列表-创建于空间ID不能为空", false);
        queryPersonalQuestionSolveRankListRespDto = fwAppDashboardWorkTaskClient.queryPersonalQuestionSolveRankList(queryPersonalQuestionSolveRankListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryPersonalQuestionSolveRankListRespDto_1 = queryPersonalQuestionSolveRankListRespDto;

        BffQueryPersonalQuestionSolveRankListRespDto retData = new BffQueryPersonalQuestionSolveRankListRespDto();
        if (queryPersonalQuestionSolveRankListRespDto_1 != null) {
            retData.setQuestionList(queryPersonalQuestionSolveRankListRespDto_1.getQuestionList().stream().map(item -> BeanUtil.toBean(item, BffQuestionDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1681452_1
        }


        return retData;
    }

    /**
     * B3查询个人问题超时排行图表[9016]
     * gen by moon at 4/1/2024, 2:39:36 AM
     */
    @Trace(operationName = "B3查询个人问题超时排行图表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryPersonalQuestionTimeoutRankListRespDto queryPersonalQuestionTimeoutRankList(BffQueryPersonalQuestionTimeoutRankListReqDto reqDto) {


        QueryPersonalQuestionTimeoutRankListRespDto queryPersonalQuestionTimeoutRankListRespDto_1 = null;
//步骤0: D3查询个人问题超时排行列表 - queryPersonalQuestionTimeoutRankList
        QueryPersonalQuestionTimeoutRankListRespDto queryPersonalQuestionTimeoutRankListRespDto = null;
        QueryPersonalQuestionTimeoutRankListReqDto queryPersonalQuestionTimeoutRankListReqDto = new QueryPersonalQuestionTimeoutRankListReqDto();
        queryPersonalQuestionTimeoutRankListReqDto.setQuestionStatus("OVERTIME");//sourceId:1681528_1
        queryPersonalQuestionTimeoutRankListReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1681530_1
        if (reqDto != null) {
            queryPersonalQuestionTimeoutRankListReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1681527_1
        }

        /*D3查询个人问题超时排行列表[9010]   */
        Assert.isNull(queryPersonalQuestionTimeoutRankListReqDto.getOriginalRoleMemberId(), "B3查询个人问题超时排行图表-D3查询个人问题超时排行列表-身份人员ID不能为空", false);
        Assert.isNull(queryPersonalQuestionTimeoutRankListReqDto.getQuestionStatus(), "B3查询个人问题超时排行图表-D3查询个人问题超时排行列表-问题状态不能为空", false);
        Assert.isNull(queryPersonalQuestionTimeoutRankListReqDto.getSpaceId(), "B3查询个人问题超时排行图表-D3查询个人问题超时排行列表-创建于空间ID不能为空", false);
        queryPersonalQuestionTimeoutRankListRespDto = fwAppDashboardWorkTaskClient.queryPersonalQuestionTimeoutRankList(queryPersonalQuestionTimeoutRankListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryPersonalQuestionTimeoutRankListRespDto_1 = queryPersonalQuestionTimeoutRankListRespDto;

        BffQueryPersonalQuestionTimeoutRankListRespDto retData = new BffQueryPersonalQuestionTimeoutRankListRespDto();
        if (queryPersonalQuestionTimeoutRankListRespDto_1 != null) {
            retData.setQuestionList(queryPersonalQuestionTimeoutRankListRespDto_1.getQuestionList().stream().map(item -> BeanUtil.toBean(item, BffQuestionDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1681533_1
        }


        return retData;
    }

    /**
     * B3查询部门任务进度排行工作任务图表[9019]
     * gen by moon at 4/3/2024, 12:00:43 AM
     */
    @Trace(operationName = "B3查询部门任务进度排行工作任务图表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryDeptTaskProgressRankingChartListRespDto queryDeptTaskProgressRankingChartList(BffQueryDeptTaskProgressRankingChartListReqDto reqDto) {


        QueryDeptTaskProgressRankingChartListRespDto queryDeptTaskProgressRankingChartListRespDto_1 = null;
//步骤0: D3查询部门任务进度排行图表列表 - queryDeptTaskProgressRankingChartList
        QueryDeptTaskProgressRankingChartListRespDto queryDeptTaskProgressRankingChartListRespDto = null;
        QueryDeptTaskProgressRankingChartListReqDto queryDeptTaskProgressRankingChartListReqDto = new QueryDeptTaskProgressRankingChartListReqDto();
        queryDeptTaskProgressRankingChartListReqDto.setUseScene("WORK_TASK_SCENE");//sourceId:1681906_1
        queryDeptTaskProgressRankingChartListReqDto.setTableTypeCode("OMS_TASK");//sourceId:1685268_1
        queryDeptTaskProgressRankingChartListReqDto.setTaskStatus("ONGOING");//sourceId:1681908_1
        queryDeptTaskProgressRankingChartListReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1681909_1
        if (reqDto != null) {
            queryDeptTaskProgressRankingChartListReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:1681905_1
        }

        /*D3查询部门任务进度排行图表列表[9011]   */
        Assert.isNull(queryDeptTaskProgressRankingChartListReqDto.getDeptId(), "B3查询部门任务进度排行工作任务图表-D3查询部门任务进度排行图表列表-部门ID不能为空", false);
        Assert.isNull(queryDeptTaskProgressRankingChartListReqDto.getUseScene(), "B3查询部门任务进度排行工作任务图表-D3查询部门任务进度排行图表列表-虚拟组织使用场景不能为空", false);
        Assert.isNull(queryDeptTaskProgressRankingChartListReqDto.getTableTypeCode(), "B3查询部门任务进度排行工作任务图表-D3查询部门任务进度排行图表列表-冗余内容表类型编码不能为空", false);
        Assert.isNull(queryDeptTaskProgressRankingChartListReqDto.getTaskStatus(), "B3查询部门任务进度排行工作任务图表-D3查询部门任务进度排行图表列表-任务进展状态不能为空", false);
        Assert.isNull(queryDeptTaskProgressRankingChartListReqDto.getSpaceId(), "B3查询部门任务进度排行工作任务图表-D3查询部门任务进度排行图表列表-创建于空间ID不能为空", false);
        queryDeptTaskProgressRankingChartListRespDto = fwAppDashboardWorkTaskClient.queryDeptTaskProgressRankingChartList(queryDeptTaskProgressRankingChartListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryDeptTaskProgressRankingChartListRespDto_1 = queryDeptTaskProgressRankingChartListRespDto;

        BffQueryDeptTaskProgressRankingChartListRespDto retData = new BffQueryDeptTaskProgressRankingChartListRespDto();
        if (queryDeptTaskProgressRankingChartListRespDto_1 != null) {
            retData.setTaskDataList(queryDeptTaskProgressRankingChartListRespDto_1.getTaskDataList().stream().map(item -> BeanUtil.toBean(item, BffTaskDataDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1681913_1
        }


        return retData;
    }

    /**
     * B3查询部门任务逾期排行列表[9025]
     * gen by moon at 4/3/2024, 12:00:51 AM
     */
    @Trace(operationName = "B3查询部门任务逾期排行列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryDeptTaskExpiedRankingListRespDto queryDeptTaskExpiedRankingList(BffQueryDeptTaskExpiedRankingListReqDto reqDto) {


        QueryDeptTaskExpiedRankingListRespDto queryDeptTaskExpiedRankingListRespDto_1 = null;
//步骤0: D3查询部门任务逾期排行列表 - queryDeptTaskExpiedRankingList
        QueryDeptTaskExpiedRankingListRespDto queryDeptTaskExpiedRankingListRespDto = null;
        QueryDeptTaskExpiedRankingListReqDto queryDeptTaskExpiedRankingListReqDto = new QueryDeptTaskExpiedRankingListReqDto();
        queryDeptTaskExpiedRankingListReqDto.setUseScene("WORK_TASK_SCENE");//sourceId:1682131_1
        queryDeptTaskExpiedRankingListReqDto.setTableTypeCode("OMS_TASK");//sourceId:1685280_1
        queryDeptTaskExpiedRankingListReqDto.setStateCode("OVERDUE");//sourceId:1682133_1
        queryDeptTaskExpiedRankingListReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1682134_1
        if (reqDto != null) {
            queryDeptTaskExpiedRankingListReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:1682130_1
        }

        /*D3查询部门任务逾期排行列表[9012]   */
        Assert.isNull(queryDeptTaskExpiedRankingListReqDto.getDeptId(), "B3查询部门任务逾期排行列表-D3查询部门任务逾期排行列表-部门ID不能为空", false);
        Assert.isNull(queryDeptTaskExpiedRankingListReqDto.getUseScene(), "B3查询部门任务逾期排行列表-D3查询部门任务逾期排行列表-虚拟组织使用场景不能为空", false);
        Assert.isNull(queryDeptTaskExpiedRankingListReqDto.getTableTypeCode(), "B3查询部门任务逾期排行列表-D3查询部门任务逾期排行列表-冗余内容表类型编码不能为空", false);
        Assert.isNull(queryDeptTaskExpiedRankingListReqDto.getStateCode(), "B3查询部门任务逾期排行列表-D3查询部门任务逾期排行列表-内容冗余状态不能为空", false);
        Assert.isNull(queryDeptTaskExpiedRankingListReqDto.getSpaceId(), "B3查询部门任务逾期排行列表-D3查询部门任务逾期排行列表-创建于空间ID不能为空", false);
        queryDeptTaskExpiedRankingListRespDto = fwAppDashboardWorkTaskClient.queryDeptTaskExpiedRankingList(queryDeptTaskExpiedRankingListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryDeptTaskExpiedRankingListRespDto_1 = queryDeptTaskExpiedRankingListRespDto;

        BffQueryDeptTaskExpiedRankingListRespDto retData = new BffQueryDeptTaskExpiedRankingListRespDto();
        if (queryDeptTaskExpiedRankingListRespDto_1 != null) {
            retData.setTaskDataList(queryDeptTaskExpiedRankingListRespDto_1.getTaskDataList().stream().map(item -> BeanUtil.toBean(item, BffTaskDataDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1682152_1
        }


        return retData;
    }

    /**
     * B3查询下属工作任务进度排行图表[9028]
     * gen by moon at 4/1/2024, 2:39:45 AM
     */
    @Trace(operationName = "B3查询下属工作任务进度排行图表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQuerySubordinateWorkTaskProgressRankListRespDto querySubordinateWorkTaskProgressRankList(BffQuerySubordinateWorkTaskProgressRankListReqDto reqDto) {


        QuerySubordinateWorkTaskProgressRankListRespDto querySubordinateWorkTaskProgressRankListRespDto_1 = null;
//步骤0: D3查询下属工作任务进度排行列表 - querySubordinateWorkTaskProgressRankList
        QuerySubordinateWorkTaskProgressRankListRespDto querySubordinateWorkTaskProgressRankListRespDto = null;
        QuerySubordinateWorkTaskProgressRankListReqDto querySubordinateWorkTaskProgressRankListReqDto = new QuerySubordinateWorkTaskProgressRankListReqDto();
        querySubordinateWorkTaskProgressRankListReqDto.setTaskStatus("ONGOING");//sourceId:1682304_1
        querySubordinateWorkTaskProgressRankListReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1682303_1
        if (reqDto != null) {
            querySubordinateWorkTaskProgressRankListReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1682302_1
            querySubordinateWorkTaskProgressRankListReqDto.setRoleCode(reqDto.getRoleCode());//SimpleFieldAssign//sourceId:1682543_1
        }

        /*D3查询下属工作任务进度排行列表[9021]   */
        Assert.isNull(querySubordinateWorkTaskProgressRankListReqDto.getOriginalRoleMemberId(), "B3查询下属工作任务进度排行图表-D3查询下属工作任务进度排行列表-身份人员ID不能为空", false);
        Assert.isNull(querySubordinateWorkTaskProgressRankListReqDto.getRoleCode(), "B3查询下属工作任务进度排行图表-D3查询下属工作任务进度排行列表-角色标识不能为空", false);
        Assert.isNull(querySubordinateWorkTaskProgressRankListReqDto.getTaskStatus(), "B3查询下属工作任务进度排行图表-D3查询下属工作任务进度排行列表-任务进展状态不能为空", false);
        Assert.isNull(querySubordinateWorkTaskProgressRankListReqDto.getSpaceId(), "B3查询下属工作任务进度排行图表-D3查询下属工作任务进度排行列表-创建于空间ID不能为空", false);
        querySubordinateWorkTaskProgressRankListRespDto = fwAppDashboardWorkTaskClient.querySubordinateWorkTaskProgressRankList(querySubordinateWorkTaskProgressRankListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        querySubordinateWorkTaskProgressRankListRespDto_1 = querySubordinateWorkTaskProgressRankListRespDto;

        BffQuerySubordinateWorkTaskProgressRankListRespDto retData = new BffQuerySubordinateWorkTaskProgressRankListRespDto();
        if (querySubordinateWorkTaskProgressRankListRespDto_1 != null) {
            retData.setTaskDataList(querySubordinateWorkTaskProgressRankListRespDto_1.getTaskDataList().stream().map(item -> BeanUtil.toBean(item, BffTaskDataDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1682310_1
        }


        return retData;
    }

    /**
     * B3查询下属工作任务逾期排行图表[9029]
     * gen by moon at 4/1/2024, 2:39:48 AM
     */
    @Trace(operationName = "B3查询下属工作任务逾期排行图表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQuerySubordinateWorkTaskOverdueRankListRespDto querySubordinateWorkTaskOverdueRankList(BffQuerySubordinateWorkTaskOverdueRankListReqDto reqDto) {


        QuerySubordinateWorkTaskOverdueRankListRespDto querySubordinateWorkTaskOverdueRankListRespDto_1 = null;
//步骤0: D3查询下属工作任务逾期排行列表 - querySubordinateWorkTaskOverdueRankList
        QuerySubordinateWorkTaskOverdueRankListRespDto querySubordinateWorkTaskOverdueRankListRespDto = null;
        QuerySubordinateWorkTaskOverdueRankListReqDto querySubordinateWorkTaskOverdueRankListReqDto = new QuerySubordinateWorkTaskOverdueRankListReqDto();
        querySubordinateWorkTaskOverdueRankListReqDto.setStateCode("OVERDUE");//sourceId:1682494_1
        querySubordinateWorkTaskOverdueRankListReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1682493_1
        if (reqDto != null) {
            querySubordinateWorkTaskOverdueRankListReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1682492_1
            querySubordinateWorkTaskOverdueRankListReqDto.setRoleCode(reqDto.getRoleCode());//SimpleFieldAssign//sourceId:1682546_1
        }

        /*D3查询下属工作任务逾期排行列表[9022]   */
        Assert.isNull(querySubordinateWorkTaskOverdueRankListReqDto.getOriginalRoleMemberId(), "B3查询下属工作任务逾期排行图表-D3查询下属工作任务逾期排行列表-身份人员ID不能为空", false);
        Assert.isNull(querySubordinateWorkTaskOverdueRankListReqDto.getRoleCode(), "B3查询下属工作任务逾期排行图表-D3查询下属工作任务逾期排行列表-角色标识不能为空", false);
        Assert.isNull(querySubordinateWorkTaskOverdueRankListReqDto.getStateCode(), "B3查询下属工作任务逾期排行图表-D3查询下属工作任务逾期排行列表-内容冗余状态不能为空", false);
        Assert.isNull(querySubordinateWorkTaskOverdueRankListReqDto.getSpaceId(), "B3查询下属工作任务逾期排行图表-D3查询下属工作任务逾期排行列表-创建于空间ID不能为空", false);
        querySubordinateWorkTaskOverdueRankListRespDto = fwAppDashboardWorkTaskClient.querySubordinateWorkTaskOverdueRankList(querySubordinateWorkTaskOverdueRankListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        querySubordinateWorkTaskOverdueRankListRespDto_1 = querySubordinateWorkTaskOverdueRankListRespDto;

        BffQuerySubordinateWorkTaskOverdueRankListRespDto retData = new BffQuerySubordinateWorkTaskOverdueRankListRespDto();
        if (querySubordinateWorkTaskOverdueRankListRespDto_1 != null) {
            retData.setTaskDataList(querySubordinateWorkTaskOverdueRankListRespDto_1.getTaskDataList().stream().map(item -> BeanUtil.toBean(item, BffTaskDataDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1682501_1
        }


        return retData;
    }

    /**
     * B3查询部门问题超时排行列表[9033]
     * gen by moon at 4/3/2024, 12:01:12 AM
     */
    @Trace(operationName = "B3查询部门问题超时排行列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryDeptQuestionOvertimeRankingListRespDto queryDeptQuestionOvertimeRankingList(BffQueryDeptQuestionOvertimeRankingListReqDto reqDto) {


        QueryDeptQuestionOvertimeRankingListRespDto queryDeptQuestionOvertimeRankingListRespDto_1 = null;
//步骤0: D3查询部门问题超时排行列表 - queryDeptQuestionOvertimeRankingList
        QueryDeptQuestionOvertimeRankingListRespDto queryDeptQuestionOvertimeRankingListRespDto = null;
        QueryDeptQuestionOvertimeRankingListReqDto queryDeptQuestionOvertimeRankingListReqDto = new QueryDeptQuestionOvertimeRankingListReqDto();
        queryDeptQuestionOvertimeRankingListReqDto.setUseScene("WORK_TASK_SCENE");//sourceId:1682622_1
        queryDeptQuestionOvertimeRankingListReqDto.setTableTypeCode("OMS_QUESTION");//sourceId:1685283_1
        queryDeptQuestionOvertimeRankingListReqDto.setQuestionStatus("RESOLVED");//sourceId:1682624_1
        if (reqDto != null) {
            queryDeptQuestionOvertimeRankingListReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:1682621_1
            queryDeptQuestionOvertimeRankingListReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1682625_1
        }

        /*D3查询部门问题超时排行列表[9014]   */
        Assert.isNull(queryDeptQuestionOvertimeRankingListReqDto.getDeptId(), "B3查询部门问题超时排行列表-D3查询部门问题超时排行列表-部门ID不能为空", false);
        Assert.isNull(queryDeptQuestionOvertimeRankingListReqDto.getUseScene(), "B3查询部门问题超时排行列表-D3查询部门问题超时排行列表-虚拟组织使用场景不能为空", false);
        Assert.isNull(queryDeptQuestionOvertimeRankingListReqDto.getTableTypeCode(), "B3查询部门问题超时排行列表-D3查询部门问题超时排行列表-冗余内容表类型编码不能为空", false);
        Assert.isNull(queryDeptQuestionOvertimeRankingListReqDto.getQuestionStatus(), "B3查询部门问题超时排行列表-D3查询部门问题超时排行列表-问题状态不能为空", false);
        Assert.isNull(queryDeptQuestionOvertimeRankingListReqDto.getSpaceId(), "B3查询部门问题超时排行列表-D3查询部门问题超时排行列表-创建于空间ID不能为空", false);
        queryDeptQuestionOvertimeRankingListRespDto = fwAppDashboardWorkTaskClient.queryDeptQuestionOvertimeRankingList(queryDeptQuestionOvertimeRankingListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryDeptQuestionOvertimeRankingListRespDto_1 = queryDeptQuestionOvertimeRankingListRespDto;

        BffQueryDeptQuestionOvertimeRankingListRespDto retData = new BffQueryDeptQuestionOvertimeRankingListRespDto();
        if (queryDeptQuestionOvertimeRankingListRespDto_1 != null) {
            retData.setQuestionList(queryDeptQuestionOvertimeRankingListRespDto_1.getQuestionList().stream().map(item -> BeanUtil.toBean(item, BffQuestionDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1682630_1
        }


        return retData;
    }

    /**
     * B3查询主管下属问题解决天数排行图表[9036]
     * gen by moon at 4/1/2024, 2:39:55 AM
     */
    @Trace(operationName = "B3查询主管下属问题解决天数排行图表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryChargeSubQuestionSolveRankListRespDto queryChargeSubQuestionSolveRankList(BffQueryChargeSubQuestionSolveRankListReqDto reqDto) {


        QueryChargeSubQuestionSolveRankListRespDto queryChargeSubQuestionSolveRankListRespDto_1 = null;
//步骤0: D3查询主管下属问题解决天数排行列表 - queryChargeSubQuestionSolveRankList
        QueryChargeSubQuestionSolveRankListRespDto queryChargeSubQuestionSolveRankListRespDto = null;
        QueryChargeSubQuestionSolveRankListReqDto queryChargeSubQuestionSolveRankListReqDto = new QueryChargeSubQuestionSolveRankListReqDto();
        queryChargeSubQuestionSolveRankListReqDto.setQuestionStatus("RESOLVED");//sourceId:1683044_1
        queryChargeSubQuestionSolveRankListReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1683045_1
        if (reqDto != null) {
            queryChargeSubQuestionSolveRankListReqDto.setDirectorInductionRecordId(reqDto.getDirectorInductionRecordId());//SimpleFieldAssign//sourceId:1683043_1
        }

        /*D3查询主管下属问题解决天数排行列表[9023]   */
        Assert.isNull(queryChargeSubQuestionSolveRankListReqDto.getDirectorInductionRecordId(), "B3查询主管下属问题解决天数排行图表-D3查询主管下属问题解决天数排行列表-可选主管就职记录ID不能为空", false);
        Assert.isNull(queryChargeSubQuestionSolveRankListReqDto.getQuestionStatus(), "B3查询主管下属问题解决天数排行图表-D3查询主管下属问题解决天数排行列表-问题状态不能为空", false);
        Assert.isNull(queryChargeSubQuestionSolveRankListReqDto.getSpaceId(), "B3查询主管下属问题解决天数排行图表-D3查询主管下属问题解决天数排行列表-创建于空间ID不能为空", false);
        queryChargeSubQuestionSolveRankListRespDto = fwAppDashboardWorkTaskClient.queryChargeSubQuestionSolveRankList(queryChargeSubQuestionSolveRankListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryChargeSubQuestionSolveRankListRespDto_1 = queryChargeSubQuestionSolveRankListRespDto;

        BffQueryChargeSubQuestionSolveRankListRespDto retData = new BffQueryChargeSubQuestionSolveRankListRespDto();
        if (queryChargeSubQuestionSolveRankListRespDto_1 != null) {
            retData.setQuestionList(queryChargeSubQuestionSolveRankListRespDto_1.getQuestionList().stream().map(item -> BeanUtil.toBean(item, BffQuestionDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1683062_1
        }


        return retData;
    }

    /**
     * B3查询项目下问题超时排行图表[8964]
     * gen by moon at 4/2/2024, 11:59:39 PM
     */
    @Trace(operationName = "B3查询项目下问题超时排行图表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryProjectQuestionTimeoutRankListRespDto queryProjectQuestionTimeoutRankList(BffQueryProjectQuestionTimeoutRankListReqDto reqDto) {


        //步骤0: D3查询问题超时排行列表(公共) - queryQuestionTimeoutRankListCom
        QueryQuestionTimeoutRankListComRespDto queryQuestionTimeoutRankListComRespDto = null;
        QueryQuestionTimeoutRankListComReqDto queryQuestionTimeoutRankListComReqDto = new QueryQuestionTimeoutRankListComReqDto();
        queryQuestionTimeoutRankListComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1687824_1
        queryQuestionTimeoutRankListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1687825_1
        if (reqDto != null) {
            queryQuestionTimeoutRankListComReqDto.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1687823_1
        }

        /*D3查询问题超时排行列表(公共)[9081]   */
        Assert.isNull(queryQuestionTimeoutRankListComReqDto.getThemeContentId(), "B3查询项目下问题超时排行图表-D3查询问题超时排行列表(公共)-主题内容ID不能为空", false);
        Assert.isNull(queryQuestionTimeoutRankListComReqDto.getSubjectLifeCycle(), "B3查询项目下问题超时排行图表-D3查询问题超时排行列表(公共)-主体生命周期不能为空", false);
        Assert.isNull(queryQuestionTimeoutRankListComReqDto.getSpaceId(), "B3查询项目下问题超时排行图表-D3查询问题超时排行列表(公共)-创建于空间ID不能为空", false);
        queryQuestionTimeoutRankListComRespDto = fwAppDashboardWorkTaskClient.queryQuestionTimeoutRankListCom(queryQuestionTimeoutRankListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffQueryProjectQuestionTimeoutRankListRespDto retData = new BffQueryProjectQuestionTimeoutRankListRespDto();


        return retData;
    }

    /**
     * B3查询项目下任务进度排行图标[8965]
     * gen by moon at 4/2/2024, 11:59:47 PM
     */
    @Trace(operationName = "B3查询项目下任务进度排行图标")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryUnderProjectTaskProgressRankListRespDto queryUnderProjectTaskProgressRankList(BffQueryUnderProjectTaskProgressRankListReqDto reqDto) {


        QueryUnderProjectTaskProgressRankListComRespDto queryUnderProjectTaskProgressRankListComRespDto_1 = null;
//步骤0: D3查询项目下任务进度排行列表(公共) - queryUnderProjectTaskProgressRankListCom
        QueryUnderProjectTaskProgressRankListComRespDto queryUnderProjectTaskProgressRankListComRespDto = null;
        QueryUnderProjectTaskProgressRankListComReqDto queryUnderProjectTaskProgressRankListComReqDto = new QueryUnderProjectTaskProgressRankListComReqDto();
        queryUnderProjectTaskProgressRankListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1687465_1
        if (reqDto != null) {
            queryUnderProjectTaskProgressRankListComReqDto.setTaskId(reqDto.getTaskId());//SimpleFieldAssign//sourceId:1687464_1
        }

        /*D3查询项目下任务进度排行列表(公共)[8962]   */
        Assert.isNull(queryUnderProjectTaskProgressRankListComReqDto.getTaskId(), "B3查询项目下任务进度排行图标-D3查询项目下任务进度排行列表(公共)-任务ID不能为空", false);
        Assert.isNull(queryUnderProjectTaskProgressRankListComReqDto.getSpaceId(), "B3查询项目下任务进度排行图标-D3查询项目下任务进度排行列表(公共)-创建于空间ID不能为空", false);
        queryUnderProjectTaskProgressRankListComRespDto = fwAppDashboardWorkTaskClient.queryUnderProjectTaskProgressRankListCom(queryUnderProjectTaskProgressRankListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryUnderProjectTaskProgressRankListComRespDto_1 = queryUnderProjectTaskProgressRankListComRespDto;

        BffQueryUnderProjectTaskProgressRankListRespDto retData = new BffQueryUnderProjectTaskProgressRankListRespDto();
        if (queryUnderProjectTaskProgressRankListComRespDto_1 != null) {
            retData.setTaskDataList(queryUnderProjectTaskProgressRankListComRespDto_1.getTaskDataList().stream().map(item -> BeanUtil.toBean(item, BffTaskDataDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1687467_1
        }


        return retData;
    }

    /**
     * B3查询重点关注任务进度排行图表[8979]
     * gen by moon at 4/3/2024, 12:00:12 AM
     */
    @Trace(operationName = "B3查询重点关注任务进度排行图表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryKeyFocusWorkTaskProgressRankListRespDto queryKeyFocusWorkTaskProgressRankList(BffQueryKeyFocusWorkTaskProgressRankListReqDto reqDto) {


        QueryKeyFocusWorkTaskProgressRankListComRespDto queryKeyFocusWorkTaskProgressRankListComRespDto_1 = null;
//步骤0: D3查询重点关注任务进度排行列表(公共) - queryKeyFocusWorkTaskProgressRankListCom
        QueryKeyFocusWorkTaskProgressRankListComRespDto queryKeyFocusWorkTaskProgressRankListComRespDto = null;
        QueryKeyFocusWorkTaskProgressRankListComReqDto queryKeyFocusWorkTaskProgressRankListComReqDto = new QueryKeyFocusWorkTaskProgressRankListComReqDto();
        queryKeyFocusWorkTaskProgressRankListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1687856_1
        if (reqDto != null) {
            queryKeyFocusWorkTaskProgressRankListComReqDto.setFocusObjectId(reqDto.getFocusObjectId());//SimpleFieldAssign//sourceId:1687855_1
        }

        /*D3查询重点关注任务进度排行列表(公共)[8977]   */
        Assert.isNull(queryKeyFocusWorkTaskProgressRankListComReqDto.getFocusObjectId(), "B3查询重点关注任务进度排行图表-D3查询重点关注任务进度排行列表(公共)-关注主体ID不能为空", false);
        Assert.isNull(queryKeyFocusWorkTaskProgressRankListComReqDto.getSpaceId(), "B3查询重点关注任务进度排行图表-D3查询重点关注任务进度排行列表(公共)-创建于空间ID不能为空", false);
        queryKeyFocusWorkTaskProgressRankListComRespDto = fwAppDashboardWorkTaskClient.queryKeyFocusWorkTaskProgressRankListCom(queryKeyFocusWorkTaskProgressRankListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryKeyFocusWorkTaskProgressRankListComRespDto_1 = queryKeyFocusWorkTaskProgressRankListComRespDto;

        BffQueryKeyFocusWorkTaskProgressRankListRespDto retData = new BffQueryKeyFocusWorkTaskProgressRankListRespDto();
        if (queryKeyFocusWorkTaskProgressRankListComRespDto_1 != null) {
            retData.setTaskDataList(queryKeyFocusWorkTaskProgressRankListComRespDto_1.getTaskDataList().stream().map(item -> BeanUtil.toBean(item, BffTaskDataDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1686907_1
        }


        return retData;
    }

    /**
     * B3查询部门问题解决天数排行图表列表[9030]
     * gen by moon at 4/3/2024, 12:01:11 AM
     */
    @Trace(operationName = "B3查询部门问题解决天数排行图表列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryDeptQuestionSolvesRankingChartListRespDto queryDeptQuestionSolvesRankingChartList(BffQueryDeptQuestionSolvesRankingChartListReqDto reqDto) {


        QueryDeptQuestionSolvesRankingChartListRespDto queryDeptQuestionSolvesRankingChartListRespDto_1 = null;
//步骤0: D3查询部门问题解决天数排行图表列表 - queryDeptQuestionSolvesRankingChartList
        QueryDeptQuestionSolvesRankingChartListRespDto queryDeptQuestionSolvesRankingChartListRespDto = null;
        QueryDeptQuestionSolvesRankingChartListReqDto queryDeptQuestionSolvesRankingChartListReqDto = new QueryDeptQuestionSolvesRankingChartListReqDto();
        queryDeptQuestionSolvesRankingChartListReqDto.setUseScene("WORK_TASK_SCENE");//sourceId:1682561_1
        queryDeptQuestionSolvesRankingChartListReqDto.setOwnTableTypeCode("PROBLEM");//sourceId:1682562_1
        queryDeptQuestionSolvesRankingChartListReqDto.setQuestionStatus("RESOLVED");//sourceId:1682563_1
        if (reqDto != null) {
            queryDeptQuestionSolvesRankingChartListReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:1682560_1
            queryDeptQuestionSolvesRankingChartListReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1682564_1
        }

        /*D3查询部门问题解决天数排行图表列表[9013]   */
        Assert.isNull(queryDeptQuestionSolvesRankingChartListReqDto.getDeptId(), "B3查询部门问题解决天数排行图表列表-D3查询部门问题解决天数排行图表列表-部门ID不能为空", false);
        Assert.isNull(queryDeptQuestionSolvesRankingChartListReqDto.getUseScene(), "B3查询部门问题解决天数排行图表列表-D3查询部门问题解决天数排行图表列表-虚拟组织使用场景不能为空", false);
        Assert.isNull(queryDeptQuestionSolvesRankingChartListReqDto.getOwnTableTypeCode(), "B3查询部门问题解决天数排行图表列表-D3查询部门问题解决天数排行图表列表-归属内容表类型编码不能为空", false);
        Assert.isNull(queryDeptQuestionSolvesRankingChartListReqDto.getQuestionStatus(), "B3查询部门问题解决天数排行图表列表-D3查询部门问题解决天数排行图表列表-问题状态不能为空", false);
        Assert.isNull(queryDeptQuestionSolvesRankingChartListReqDto.getSpaceId(), "B3查询部门问题解决天数排行图表列表-D3查询部门问题解决天数排行图表列表-创建于空间ID不能为空", false);
        queryDeptQuestionSolvesRankingChartListRespDto = fwAppDashboardWorkTaskClient.queryDeptQuestionSolvesRankingChartList(queryDeptQuestionSolvesRankingChartListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryDeptQuestionSolvesRankingChartListRespDto_1 = queryDeptQuestionSolvesRankingChartListRespDto;

        BffQueryDeptQuestionSolvesRankingChartListRespDto retData = new BffQueryDeptQuestionSolvesRankingChartListRespDto();
        if (queryDeptQuestionSolvesRankingChartListRespDto_1 != null) {
            retData.setQuestionList(queryDeptQuestionSolvesRankingChartListRespDto_1.getQuestionList().stream().map(item -> BeanUtil.toBean(item, BffQuestionDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1682571_1
        }


        return retData;
    }

    /**
     * B4查询部门问题人员排行列表[9043]
     * gen by moon at 4/3/2024, 12:01:21 AM
     */
    @Trace(operationName = "B4查询部门问题人员排行列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryDeptQuestionMemberRankingListRespDto queryDeptQuestionMemberRankingList(BffQueryDeptQuestionMemberRankingListReqDto reqDto) {


        QueryDeptTaskQuesMemberRankingListComRespDto queryDeptTaskQuesMemberRankingListComRespDto_1 = null;
        BatchQueryUserinfoByMemberComRespDto batchQueryUserinfoByMemberComRespDto_1 = null;
//步骤0: D4查询部门任务或问题人员排行列表(公共) - queryDeptTaskQuesMemberRankingListCom
        QueryDeptTaskQuesMemberRankingListComRespDto queryDeptTaskQuesMemberRankingListComRespDto = null;
        QueryDeptTaskQuesMemberRankingListComReqDto queryDeptTaskQuesMemberRankingListComReqDto = new QueryDeptTaskQuesMemberRankingListComReqDto();
        queryDeptTaskQuesMemberRankingListComReqDto.setDataUsageSceneCode("PMO_DATA_STATISTICS");//sourceId:1684140_1
        queryDeptTaskQuesMemberRankingListComReqDto.setUseScene("WORK_TASK_SCENE");//sourceId:1684141_1
        queryDeptTaskQuesMemberRankingListComReqDto.setTableTypeCode("OMS_QUESTION");//sourceId:1684142_1
        queryDeptTaskQuesMemberRankingListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1684143_1
        if (reqDto != null) {
            queryDeptTaskQuesMemberRankingListComReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:1684137_1
            queryDeptTaskQuesMemberRankingListComReqDto.setPeriodId(reqDto.getPeriodId());//SimpleFieldAssign//sourceId:1684138_1
            queryDeptTaskQuesMemberRankingListComReqDto.setDataType(reqDto.getDataType());//SimpleFieldAssign//sourceId:1684139_1
            queryDeptTaskQuesMemberRankingListComReqDto.setStandardDataOrderType(reqDto.getStandardDataOrderType());//SimpleFieldAssign//sourceId:1686195_1
        }

        /*D4查询部门任务或问题人员排行列表(公共)[9041]   */
        Assert.isNull(queryDeptTaskQuesMemberRankingListComReqDto.getDeptId(), "B4查询部门问题人员排行列表-D4查询部门任务或问题人员排行列表(公共)-部门ID不能为空", false);
        Assert.isNull(queryDeptTaskQuesMemberRankingListComReqDto.getPeriodId(), "B4查询部门问题人员排行列表-D4查询部门任务或问题人员排行列表(公共)-周期ID不能为空", false);
        Assert.isNull(queryDeptTaskQuesMemberRankingListComReqDto.getDataType(), "B4查询部门问题人员排行列表-D4查询部门任务或问题人员排行列表(公共)-数据点类型不能为空", false);
        Assert.isNull(queryDeptTaskQuesMemberRankingListComReqDto.getDataUsageSceneCode(), "B4查询部门问题人员排行列表-D4查询部门任务或问题人员排行列表(公共)-数据业务场景不能为空", false);
        Assert.isNull(queryDeptTaskQuesMemberRankingListComReqDto.getUseScene(), "B4查询部门问题人员排行列表-D4查询部门任务或问题人员排行列表(公共)-虚拟组织使用场景不能为空", false);
        Assert.isNull(queryDeptTaskQuesMemberRankingListComReqDto.getTableTypeCode(), "B4查询部门问题人员排行列表-D4查询部门任务或问题人员排行列表(公共)-归属内容表类型编码不能为空", false);
        Assert.isNull(queryDeptTaskQuesMemberRankingListComReqDto.getSpaceId(), "B4查询部门问题人员排行列表-D4查询部门任务或问题人员排行列表(公共)-创建于空间ID不能为空", false);
        queryDeptTaskQuesMemberRankingListComRespDto = fwCalcDashboardWorkTaskClient.queryDeptTaskQuesMemberRankingListCom(queryDeptTaskQuesMemberRankingListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryDeptTaskQuesMemberRankingListComRespDto_1 = queryDeptTaskQuesMemberRankingListComRespDto;

//步骤1: D1批量查询个人资料By身份人员(公共) - batchQueryUserinfoByMemberCom
        BatchQueryUserinfoByMemberComRespDto batchQueryUserinfoByMemberComRespDto = null;
        if (queryDeptTaskQuesMemberRankingListComRespDto != null) {
            BatchQueryUserinfoByMemberComReqDto batchQueryUserinfoByMemberComReqDto = new BatchQueryUserinfoByMemberComReqDto();
            batchQueryUserinfoByMemberComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1686834_1
            if (queryDeptTaskQuesMemberRankingListComRespDto != null && queryDeptTaskQuesMemberRankingListComRespDto.getStandardDataList() != null && !CollectionUtil.isEmpty(queryDeptTaskQuesMemberRankingListComRespDto.getStandardDataList())) {
                batchQueryUserinfoByMemberComReqDto.setBeginMemberList(queryDeptTaskQuesMemberRankingListComRespDto.getStandardDataList().stream().map(item -> item.getEntityId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1686833_1
            }

            /*D1批量查询个人资料By身份人员(公共)[9064]   */
            Assert.isNull(batchQueryUserinfoByMemberComReqDto.getSpaceId(), "B4查询部门问题人员排行列表-D1批量查询个人资料By身份人员(公共)-创建于空间ID不能为空", false);
            batchQueryUserinfoByMemberComRespDto = fwBaseDashboardOrgClient.batchQueryUserinfoByMemberCom(batchQueryUserinfoByMemberComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryUserinfoByMemberComRespDto_1 = batchQueryUserinfoByMemberComRespDto;
        }

        BffQueryDeptQuestionMemberRankingListRespDto retData = new BffQueryDeptQuestionMemberRankingListRespDto();
        //数据集融合  MoreListToOneSource
        if (queryDeptTaskQuesMemberRankingListComRespDto_1 != null && !CollectionUtil.isEmpty(queryDeptTaskQuesMemberRankingListComRespDto_1.getStandardDataList())) {
            for (StandardDataDto standardDataDto : queryDeptTaskQuesMemberRankingListComRespDto_1.getStandardDataList()) {
                BffStandardDataDto retElm = new BffStandardDataDto();
                if (queryDeptTaskQuesMemberRankingListComRespDto_1 != null) {
                    retElm.setDataResult(standardDataDto.getDataResult());//SimpleFieldAssign//sourceId:329867_2
                    retElm.setUnit(standardDataDto.getUnit());//SimpleFieldAssign//sourceId:329868_2
                }
                retData.getStandardDataList().add(retElm);
                if (batchQueryUserinfoByMemberComRespDto_1 != null) {
                    for (BeginMemberDto beginMemberDto : batchQueryUserinfoByMemberComRespDto_1.getBeginMemberList()) {
                        if (beginMemberDto.getOriginalRoleMemberId().equals(standardDataDto.getEntityId())) {
                            if (batchQueryUserinfoByMemberComRespDto_1 != null) {
                                retElm.setOriginalRoleMemberId(beginMemberDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:330533_2
                                retElm.setIdCardName(beginMemberDto.getIdCardName());//SimpleFieldAssign//sourceId:330423_2
                                retElm.setNickName(beginMemberDto.getNickName());//SimpleFieldAssign//sourceId:330424_2
                                retElm.setUserFace(beginMemberDto.getUserFace());//SimpleFieldAssign//sourceId:330425_2
                            }
                        }
                    }
                }

            }
        }//sourceId:1686205_1


        return retData;
    }

    /**
     * B4查询部门任务人员排行列表[9045]
     * gen by moon at 4/3/2024, 12:01:28 AM
     */
    @Trace(operationName = "B4查询部门任务人员排行列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryDeptTaskMemberRankingListRespDto queryDeptTaskMemberRankingList(BffQueryDeptTaskMemberRankingListReqDto reqDto) {


        QueryDeptTaskQuesMemberRankingListComRespDto queryDeptTaskQuesMemberRankingListComRespDto_1 = null;
        BatchQueryUserinfoByMemberComRespDto batchQueryUserinfoByMemberComRespDto_1 = null;
//步骤0: D4查询部门任务或问题人员排行列表(公共) - queryDeptTaskQuesMemberRankingListCom
        QueryDeptTaskQuesMemberRankingListComRespDto queryDeptTaskQuesMemberRankingListComRespDto = null;
        QueryDeptTaskQuesMemberRankingListComReqDto queryDeptTaskQuesMemberRankingListComReqDto = new QueryDeptTaskQuesMemberRankingListComReqDto();
        queryDeptTaskQuesMemberRankingListComReqDto.setDataUsageSceneCode("PMO_DATA_STATISTICS");//sourceId:1684164_1
        queryDeptTaskQuesMemberRankingListComReqDto.setUseScene("WORK_TASK_SCENE");//sourceId:1684165_1
        queryDeptTaskQuesMemberRankingListComReqDto.setTableTypeCode("OMS_TASK");//sourceId:1684166_1
        queryDeptTaskQuesMemberRankingListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1684167_1
        if (reqDto != null) {
            queryDeptTaskQuesMemberRankingListComReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:1684161_1
            queryDeptTaskQuesMemberRankingListComReqDto.setPeriodId(reqDto.getPeriodId());//SimpleFieldAssign//sourceId:1684162_1
            queryDeptTaskQuesMemberRankingListComReqDto.setDataType(reqDto.getDataType());//SimpleFieldAssign//sourceId:1684163_1
            queryDeptTaskQuesMemberRankingListComReqDto.setStandardDataOrderType(reqDto.getStandardDataOrderType());//SimpleFieldAssign//sourceId:1686198_1
        }

        /*D4查询部门任务或问题人员排行列表(公共)[9041]   */
        Assert.isNull(queryDeptTaskQuesMemberRankingListComReqDto.getDeptId(), "B4查询部门任务人员排行列表-D4查询部门任务或问题人员排行列表(公共)-部门ID不能为空", false);
        Assert.isNull(queryDeptTaskQuesMemberRankingListComReqDto.getPeriodId(), "B4查询部门任务人员排行列表-D4查询部门任务或问题人员排行列表(公共)-周期ID不能为空", false);
        Assert.isNull(queryDeptTaskQuesMemberRankingListComReqDto.getDataType(), "B4查询部门任务人员排行列表-D4查询部门任务或问题人员排行列表(公共)-数据点类型不能为空", false);
        Assert.isNull(queryDeptTaskQuesMemberRankingListComReqDto.getDataUsageSceneCode(), "B4查询部门任务人员排行列表-D4查询部门任务或问题人员排行列表(公共)-数据业务场景不能为空", false);
        Assert.isNull(queryDeptTaskQuesMemberRankingListComReqDto.getUseScene(), "B4查询部门任务人员排行列表-D4查询部门任务或问题人员排行列表(公共)-虚拟组织使用场景不能为空", false);
        Assert.isNull(queryDeptTaskQuesMemberRankingListComReqDto.getTableTypeCode(), "B4查询部门任务人员排行列表-D4查询部门任务或问题人员排行列表(公共)-归属内容表类型编码不能为空", false);
        Assert.isNull(queryDeptTaskQuesMemberRankingListComReqDto.getSpaceId(), "B4查询部门任务人员排行列表-D4查询部门任务或问题人员排行列表(公共)-创建于空间ID不能为空", false);
        queryDeptTaskQuesMemberRankingListComRespDto = fwCalcDashboardWorkTaskClient.queryDeptTaskQuesMemberRankingListCom(queryDeptTaskQuesMemberRankingListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryDeptTaskQuesMemberRankingListComRespDto_1 = queryDeptTaskQuesMemberRankingListComRespDto;

//步骤1: D1批量查询个人资料By身份人员(公共) - batchQueryUserinfoByMemberCom
        BatchQueryUserinfoByMemberComRespDto batchQueryUserinfoByMemberComRespDto = null;
        if (queryDeptTaskQuesMemberRankingListComRespDto != null) {
            BatchQueryUserinfoByMemberComReqDto batchQueryUserinfoByMemberComReqDto = new BatchQueryUserinfoByMemberComReqDto();
            batchQueryUserinfoByMemberComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1686828_1
            if (queryDeptTaskQuesMemberRankingListComRespDto != null && queryDeptTaskQuesMemberRankingListComRespDto.getStandardDataList() != null && !CollectionUtil.isEmpty(queryDeptTaskQuesMemberRankingListComRespDto.getStandardDataList())) {
                batchQueryUserinfoByMemberComReqDto.setBeginMemberList(queryDeptTaskQuesMemberRankingListComRespDto.getStandardDataList().stream().map(item -> item.getEntityId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1686827_1
            }

            /*D1批量查询个人资料By身份人员(公共)[9064]   */
            Assert.isNull(batchQueryUserinfoByMemberComReqDto.getSpaceId(), "B4查询部门任务人员排行列表-D1批量查询个人资料By身份人员(公共)-创建于空间ID不能为空", false);
            batchQueryUserinfoByMemberComRespDto = fwBaseDashboardOrgClient.batchQueryUserinfoByMemberCom(batchQueryUserinfoByMemberComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryUserinfoByMemberComRespDto_1 = batchQueryUserinfoByMemberComRespDto;
        }

        BffQueryDeptTaskMemberRankingListRespDto retData = new BffQueryDeptTaskMemberRankingListRespDto();
        //数据集融合  MoreListToOneSource
        if (queryDeptTaskQuesMemberRankingListComRespDto_1 != null && !CollectionUtil.isEmpty(queryDeptTaskQuesMemberRankingListComRespDto_1.getStandardDataList())) {
            for (StandardDataDto standardDataDto : queryDeptTaskQuesMemberRankingListComRespDto_1.getStandardDataList()) {
                BffStandardDataDto retElm = new BffStandardDataDto();
                if (queryDeptTaskQuesMemberRankingListComRespDto_1 != null) {
                    retElm.setDataResult(standardDataDto.getDataResult());//SimpleFieldAssign//sourceId:329864_2
                    retElm.setUnit(standardDataDto.getUnit());//SimpleFieldAssign//sourceId:329865_2
                }
                retData.getStandardDataList().add(retElm);
                if (batchQueryUserinfoByMemberComRespDto_1 != null) {
                    for (BeginMemberDto beginMemberDto : batchQueryUserinfoByMemberComRespDto_1.getBeginMemberList()) {
                        if (beginMemberDto.getOriginalRoleMemberId().equals(standardDataDto.getEntityId())) {
                            if (batchQueryUserinfoByMemberComRespDto_1 != null) {
                                retElm.setOriginalRoleMemberId(beginMemberDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:330531_2
                                retElm.setIdCardName(beginMemberDto.getIdCardName());//SimpleFieldAssign//sourceId:330400_2
                                retElm.setNickName(beginMemberDto.getNickName());//SimpleFieldAssign//sourceId:330401_2
                                retElm.setUserFace(beginMemberDto.getUserFace());//SimpleFieldAssign//sourceId:330402_2
                            }
                        }
                    }
                }

            }
        }//sourceId:1686203_1


        return retData;
    }

    /**
     * B3查询项目下逾期任务排行图表[9075]
     * gen by moon at 4/3/2024, 12:02:32 AM
     */
    @Trace(operationName = "B3查询项目下逾期任务排行图表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryUnderProjectExpiedTaskRankListRespDto queryUnderProjectExpiedTaskRankList(BffQueryUnderProjectExpiedTaskRankListReqDto reqDto) {


        QueryUnderProjectExpiedTaskRankListRespDto queryUnderProjectExpiedTaskRankListRespDto_1 = null;
//步骤0: D3查询项目下逾期任务排行列表 - queryUnderProjectExpiedTaskRankList
        QueryUnderProjectExpiedTaskRankListRespDto queryUnderProjectExpiedTaskRankListRespDto = null;
        QueryUnderProjectExpiedTaskRankListReqDto queryUnderProjectExpiedTaskRankListReqDto = new QueryUnderProjectExpiedTaskRankListReqDto();
        queryUnderProjectExpiedTaskRankListReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1687144_1
        if (reqDto != null) {
            queryUnderProjectExpiedTaskRankListReqDto.setTaskId(reqDto.getTaskId());//SimpleFieldAssign//sourceId:1687143_1
        }

        /*D3查询项目下逾期任务排行列表[9074]   */
        Assert.isNull(queryUnderProjectExpiedTaskRankListReqDto.getTaskId(), "B3查询项目下逾期任务排行图表-D3查询项目下逾期任务排行列表-任务ID不能为空", false);
        Assert.isNull(queryUnderProjectExpiedTaskRankListReqDto.getSpaceId(), "B3查询项目下逾期任务排行图表-D3查询项目下逾期任务排行列表-创建于空间ID不能为空", false);
        queryUnderProjectExpiedTaskRankListRespDto = fwAppDashboardWorkTaskClient.queryUnderProjectExpiedTaskRankList(queryUnderProjectExpiedTaskRankListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryUnderProjectExpiedTaskRankListRespDto_1 = queryUnderProjectExpiedTaskRankListRespDto;

        BffQueryUnderProjectExpiedTaskRankListRespDto retData = new BffQueryUnderProjectExpiedTaskRankListRespDto();
        if (queryUnderProjectExpiedTaskRankListRespDto_1 != null) {
            retData.setWorkTaskList(queryUnderProjectExpiedTaskRankListRespDto_1.getWorkTaskList().stream().map(item -> BeanUtil.toBean(item, BffWorkTaskDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1687147_1
        }


        return retData;
    }

    /**
     * B3查询项目下问题解决天数排行图表[9083]
     * gen by moon at 4/3/2024, 12:02:40 AM
     */
    @Trace(operationName = "B3查询项目下问题解决天数排行图表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryProjectQuestionSolveRankListRespDto queryProjectQuestionSolveRankList(BffQueryProjectQuestionSolveRankListReqDto reqDto) {


        QueryQuestionSolvesRankListComRespDto queryQuestionSolvesRankListComRespDto_1 = null;
//步骤0: D3查询问题解决天数排行列表(公共) - queryQuestionSolvesRankListCom
        QueryQuestionSolvesRankListComRespDto queryQuestionSolvesRankListComRespDto = null;
        QueryQuestionSolvesRankListComReqDto queryQuestionSolvesRankListComReqDto = new QueryQuestionSolvesRankListComReqDto();
        queryQuestionSolvesRankListComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1687897_1
        queryQuestionSolvesRankListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1687898_1
        if (reqDto != null) {
            queryQuestionSolvesRankListComReqDto.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1687896_1
        }

        /*D3查询问题解决天数排行列表(公共)[9082]   */
        Assert.isNull(queryQuestionSolvesRankListComReqDto.getThemeContentId(), "B3查询项目下问题解决天数排行图表-D3查询问题解决天数排行列表(公共)-主题内容ID不能为空", false);
        Assert.isNull(queryQuestionSolvesRankListComReqDto.getSubjectLifeCycle(), "B3查询项目下问题解决天数排行图表-D3查询问题解决天数排行列表(公共)-主体生命周期不能为空", false);
        Assert.isNull(queryQuestionSolvesRankListComReqDto.getSpaceId(), "B3查询项目下问题解决天数排行图表-D3查询问题解决天数排行列表(公共)-创建于空间ID不能为空", false);
        queryQuestionSolvesRankListComRespDto = fwAppDashboardWorkTaskClient.queryQuestionSolvesRankListCom(queryQuestionSolvesRankListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryQuestionSolvesRankListComRespDto_1 = queryQuestionSolvesRankListComRespDto;

        BffQueryProjectQuestionSolveRankListRespDto retData = new BffQueryProjectQuestionSolveRankListRespDto();
        if (queryQuestionSolvesRankListComRespDto_1 != null) {
            retData.setQuestionList(queryQuestionSolvesRankListComRespDto_1.getQuestionList().stream().map(item -> BeanUtil.toBean(item, BffQuestionDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1687905_1
        }


        return retData;
    }

    /**
     * B3查询重点关注任务逾期排行图表[9085]
     * gen by moon at 4/3/2024, 12:02:49 AM
     */
    @Trace(operationName = "B3查询重点关注任务逾期排行图表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryKeyFocusWorkExpiedTaskRankListRespDto queryKeyFocusWorkExpiedTaskRankList(BffQueryKeyFocusWorkExpiedTaskRankListReqDto reqDto) {


        QueryKeyFocusWorkExpiedTaskRankListRespDto queryKeyFocusWorkExpiedTaskRankListRespDto_1 = null;
//步骤0: D3查询重点关注任务逾期排行列表 - queryKeyFocusWorkExpiedTaskRankList
        QueryKeyFocusWorkExpiedTaskRankListRespDto queryKeyFocusWorkExpiedTaskRankListRespDto = null;
        QueryKeyFocusWorkExpiedTaskRankListReqDto queryKeyFocusWorkExpiedTaskRankListReqDto = new QueryKeyFocusWorkExpiedTaskRankListReqDto();
        queryKeyFocusWorkExpiedTaskRankListReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1687939_1
        if (reqDto != null) {
            queryKeyFocusWorkExpiedTaskRankListReqDto.setFocusObjectId(reqDto.getFocusObjectId());//SimpleFieldAssign//sourceId:1687938_1
        }

        /*D3查询重点关注任务逾期排行列表[9084]   */
        Assert.isNull(queryKeyFocusWorkExpiedTaskRankListReqDto.getFocusObjectId(), "B3查询重点关注任务逾期排行图表-D3查询重点关注任务逾期排行列表-关注主体ID不能为空", false);
        Assert.isNull(queryKeyFocusWorkExpiedTaskRankListReqDto.getSpaceId(), "B3查询重点关注任务逾期排行图表-D3查询重点关注任务逾期排行列表-创建于空间ID不能为空", false);
        queryKeyFocusWorkExpiedTaskRankListRespDto = fwAppDashboardWorkTaskClient.queryKeyFocusWorkExpiedTaskRankList(queryKeyFocusWorkExpiedTaskRankListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryKeyFocusWorkExpiedTaskRankListRespDto_1 = queryKeyFocusWorkExpiedTaskRankListRespDto;

        BffQueryKeyFocusWorkExpiedTaskRankListRespDto retData = new BffQueryKeyFocusWorkExpiedTaskRankListRespDto();
        if (queryKeyFocusWorkExpiedTaskRankListRespDto_1 != null) {
            retData.setTaskDataList(queryKeyFocusWorkExpiedTaskRankListRespDto_1.getTaskDataList().stream().map(item -> BeanUtil.toBean(item, BffTaskDataDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1687943_1
        }


        return retData;
    }
    //
}
